  /* ==========================================
       TOKENS & RESET
    ========================================== */
    :root {
      --pink: #ff009d;
      --violet: #ad37f1;
      --dark: #0e0e12;
      --dark2: #16161e;
      --glass: rgba(255, 255, 255, 0.06);
      --border: rgba(255, 255, 255, 0.1);
      --grad: linear-gradient(135deg, var(--violet), var(--pink));
      --grad-v: linear-gradient(180deg, var(--violet), var(--pink));
      --text: #f0f0f5;
      --muted: rgba(240, 240, 245, 0.55);
      --font-h: 'Playfair Display', serif;
      --font-b: 'Poppins', sans-serif;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-b);
      background: var(--dark);
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.65;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
    }

    /* ==========================================
       VIDEO BG
    ========================================== */
    #video-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
    }

    #video-bg video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.18;
    }

    #video-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg,
          rgba(14, 14, 18, 0.55) 0%,
          rgba(14, 14, 18, 0.80) 50%,
          rgba(14, 14, 18, 0.97) 100%);
    }

    /* ==========================================
       LAYOUT WRAPPER
    ========================================== */
    .page {
      position: relative;
      z-index: 1;
    }

    .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 28px;
    }

    /* ==========================================
       NAV
    ========================================== */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 999;
      padding: 18px 0;
      background: rgba(14, 14, 18, 0.7);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 28px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo img {
      width: 160px;
      height: auto;
    }

    .logo-text {
      font-family: var(--font-h);
      font-size: 1.5rem;
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .nav-links {
      display: flex;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--muted);
      transition: color 0.3s;
      letter-spacing: 0.03em;
    }

    .nav-links a:hover {
      color: var(--text);
    }

    .nav-cta {
      background: var(--grad);
      color: #fff !important;
      padding: 9px 24px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.85rem;
      transition: opacity 0.3s, transform 0.3s;
    }

    .nav-cta:hover {
      opacity: 0.88;
      transform: translateY(-1px);
    }

    /* ==========================================
       HERO
    ========================================== */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 120px 0 80px;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--pink);
      background: rgba(255, 0, 157, 0.1);
      border: 1px solid rgba(255, 0, 157, 0.25);
      padding: 6px 16px;
      border-radius: 50px;
      margin-bottom: 24px;
    }

    .hero-tag span {
      width: 6px;
      height: 6px;
      background: var(--pink);
      border-radius: 50%;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.3;
      }
    }

    .hero-title {
      font-family: var(--font-h);
      font-size: clamp(2.4rem, 5vw, 3.6rem);
      line-height: 1.15;
      font-weight: 700;
      margin-bottom: 20px;
      color: var(--text);
    }

    .hero-title em {
      font-style: italic;
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-sub {
      font-size: 1.05rem;
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 36px;
      max-width: 480px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      align-items: center;
      flex-wrap: wrap;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--grad);
      color: #fff;
      padding: 14px 32px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 0.95rem;
      letter-spacing: 0.02em;
      transition: transform 0.3s, box-shadow 0.3s;
      box-shadow: 0 0 32px rgba(173, 55, 241, 0.35);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 48px rgba(255, 0, 157, 0.45);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--muted);
      padding: 14px 28px;
      border-radius: 50px;
      font-weight: 500;
      font-size: 0.9rem;
      border: 1px solid var(--border);
      transition: color 0.3s, border-color 0.3s;
    }

    .btn-ghost:hover {
      color: var(--text);
      border-color: rgba(255, 255, 255, 0.3);
    }

    /* Hero stats */
    .hero-stats {
      display: flex;
      gap: 32px;
      margin-top: 44px;
      padding-top: 32px;
      border-top: 1px solid var(--border);
    }

    /* .stat-item {} */
    .stat-num {
      font-family: var(--font-h);
      font-size: 1.8rem;
      font-weight: 700;
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      line-height: 1;
      margin-bottom: 4px;
    }

    .stat-label {
      font-size: 0.78rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* Hero right: chat preview card */
    .hero-chat-preview {
      background: var(--glass);
      border: 1px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
      backdrop-filter: blur(12px);
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(173, 55, 241, 0.15);
      animation: floatCard 4s ease-in-out infinite;
    }

    @keyframes floatCard {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-10px);
      }
    }

    .chat-preview-header {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 18px;
      background: rgba(173, 55, 241, 0.12);
      border-bottom: 1px solid var(--border);
    }

    .chat-preview-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--grad);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      color: #fff;
    }

    .chat-preview-name {
      font-size: 0.9rem;
      font-weight: 600;
    }

    .chat-preview-status {
      font-size: 0.72rem;
      color: #4ade80;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .chat-preview-status::before {
      content: '';
      width: 6px;
      height: 6px;
      background: #4ade80;
      border-radius: 50%;
    }

    .chat-preview-dots {
      margin-left: auto;
      display: flex;
      gap: 5px;
    }

    .chat-preview-dots span {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--border);
    }

    .chat-preview-dots span:first-child {
      background: #ff5563;
    }

    .chat-preview-dots span:nth-child(2) {
      background: #ffc738;
    }

    .chat-preview-dots span:last-child {
      background: #2bce6f;
    }

    .chat-preview-body {
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      min-height: 200px;
    }

    .cp-msg {
      max-width: 78%;
      padding: 10px 14px;
      border-radius: 14px;
      font-size: 0.82rem;
      line-height: 1.5;
    }

    .cp-msg.bot {
      background: rgba(173, 55, 241, 0.18);
      border: 1px solid rgba(173, 55, 241, 0.2);
      border-bottom-left-radius: 4px;
      align-self: flex-start;
      color: var(--text);
    }

    .cp-msg.user {
      background: var(--grad);
      border-bottom-right-radius: 4px;
      align-self: flex-end;
      color: #fff;
    }

    .cp-typing {
      display: flex;
      gap: 4px;
      align-items: center;
      padding: 10px 14px;
      background: rgba(173, 55, 241, 0.1);
      border-radius: 14px;
      border-bottom-left-radius: 4px;
      width: fit-content;
    }

    .cp-typing span {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--violet);
      opacity: 0.7;
      animation: typingDot 1.2s infinite;
    }

    .cp-typing span:nth-child(2) {
      animation-delay: 0.2s;
    }

    .cp-typing span:nth-child(3) {
      animation-delay: 0.4s;
    }

    @keyframes typingDot {

      0%,
      80%,
      100% {
        transform: scale(0.8);
        opacity: 0.4;
      }

      40% {
        transform: scale(1);
        opacity: 1;
      }
    }

    /* ==========================================
       SECTION HEADER
    ========================================== */
    .section-label {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--violet);
      margin-bottom: 12px;
    }

    .section-title {
      font-family: var(--font-h);
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 16px;
    }

    .section-title em {
      font-style: italic;
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .section-sub {
      font-size: 1rem;
      color: var(--muted);
      max-width: 560px;
      line-height: 1.7;
    }

    .section-header {
      margin-bottom: 56px;
    }

    .section-header.centered {
      text-align: center;
    }

    .section-header.centered .section-sub {
      margin: 0 auto;
    }

    section {
      padding: 100px 0;
    }

    /* ==========================================
       FEATURES / QUE HACEMOS
    ========================================== */
    #features {
      background: rgba(255, 255, 255, 0.015);
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .feature-card {
      background: var(--glass);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 32px 22px;
      transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      border-color: rgba(173, 55, 241, 0.35);
      box-shadow: 0 16px 48px rgba(173, 55, 241, 0.15);
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      background: rgba(173, 55, 241, 0.12);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      margin-bottom: 18px;
      color: var(--violet);
    }

    .feature-card h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .feature-card p {
      font-size: 0.875rem;
      color: var(--muted);
      line-height: 1.65;
    }

    /* ==========================================
       DEMOS — CHAT EN VIVO
    ========================================== */
    #demos {
      padding: 100px 0;
    }

    .demos-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .demo-card {
      background: var(--glass);
      border: 1px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: border-color 0.3s, box-shadow 0.3s;
    }

    .demo-card:hover {
      border-color: rgba(173, 55, 241, 0.3);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(173, 55, 241, 0.15);
    }

    .demo-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      background: rgba(173, 55, 241, 0.08);
      border-bottom: 1px solid var(--border);
    }

    .demo-card-info {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .demo-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--grad);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      color: #fff;
      flex-shrink: 0;
      font-weight: 700;
    }

    .demo-name {
      font-size: 0.9rem;
      font-weight: 700;
    }

    .demo-role {
      font-size: 0.72rem;
      color: var(--muted);
    }

    .demo-badge {
      font-size: 0.7rem;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 50px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .badge-ventas {
      background: rgba(173, 55, 241, 0.2);
      color: var(--violet);
      border: 1px solid rgba(173, 55, 241, 0.3);
    }

    .badge-reservas {
      background: rgba(255, 0, 157, 0.15);
      color: var(--pink);
      border: 1px solid rgba(255, 0, 157, 0.3);
    }

    .badge-turnos {
      background: rgba(74, 222, 128, 0.1);
      color: #4ade80;
      border: 1px solid rgba(74, 222, 128, 0.2);
    }

    .badge-atencion {
      background: rgba(251, 191, 36, 0.1);
      color: #fbbf24;
      border: 1px solid rgba(251, 191, 36, 0.25);
    }

    .demo-card-desc {
      padding: 16px 20px;
      font-size: 0.8rem;
      color: var(--muted);
      border-bottom: 1px solid var(--border);
      line-height: 1.55;
    }

    .demo-card-desc strong {
      color: var(--text);
    }

    .demo-card-action {
      padding: 18px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: auto;
    }

    .demo-hint {
      font-size: 0.78rem;
      color: var(--muted);
    }

    .btn-demo {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--grad);
      color: #fff;
      padding: 10px 22px;
      border-radius: 50px;
      font-size: 0.82rem;
      font-weight: 700;
      transition: transform 0.25s, box-shadow 0.25s;
      box-shadow: 0 4px 20px rgba(173, 55, 241, 0.3);
    }

    .btn-demo:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(255, 0, 157, 0.4);
    }

    .btn-demo i {
      font-size: 0.8rem;
    }

    /* Mini chat preview inside card */
    .demo-preview {
      padding: 16px 20px 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .dp-msg {
      padding: 9px 13px;
      border-radius: 12px;
      font-size: 0.78rem;
      line-height: 1.5;
      max-width: 85%;
    }

    .dp-msg.bot {
      background: rgba(173, 55, 241, 0.15);
      border-bottom-left-radius: 2px;
      align-self: flex-start;
    }

    .dp-msg.user {
      background: var(--grad);
      color: #fff;
      border-bottom-right-radius: 2px;
      align-self: flex-end;
    }

    /* ==========================================
       CTA BANNER
    ========================================== */
    #cta {
      padding: 80px 0;
    }

    .cta-box {
      background: var(--glass);
      border: 1px solid rgba(173, 55, 241, 0.25);
      border-radius: 24px;
      padding: 64px 48px;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 80px rgba(173, 55, 241, 0.1) inset;
    }

    .cta-box::before {
      content: '';
      position: absolute;
      top: -80px;
      left: 50%;
      transform: translateX(-50%);
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(173, 55, 241, 0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .cta-box .section-title {
      font-size: clamp(1.8rem, 3vw, 2.4rem);
      margin-bottom: 14px;
    }

    .cta-box .section-sub {
      margin: 0 auto 36px;
      font-size: 1.02rem;
    }

    .cta-actions {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-cta-main {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--grad);
      color: #fff;
      padding: 16px 40px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: 0.02em;
      transition: transform 0.3s, box-shadow 0.3s;
      box-shadow: 0 0 40px rgba(255, 0, 157, 0.4);
    }

    .btn-cta-main:hover {
      transform: translateY(-3px);
      box-shadow: 0 0 60px rgba(255, 0, 157, 0.55);
    }

    .btn-cta-ghost {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: transparent;
      color: var(--text);
      padding: 16px 36px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.95rem;
      border: 1px solid var(--border);
      transition: border-color 0.3s, color 0.3s;
    }

    .btn-cta-ghost:hover {
      border-color: rgba(173, 55, 241, 0.5);
      color: var(--violet);
    }

    /* ==========================================
       APLICACIONES
    ========================================== */
    #apps {
      background: rgba(255, 255, 255, 0.015);
    }

    .apps-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .app-item {
      display: flex;
      align-items: flex-start;
      gap: 18px;
      background: var(--glass);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 24px;
      transition: border-color 0.3s, transform 0.3s;
    }

    .app-item:hover {
      border-color: rgba(173, 55, 241, 0.3);
      transform: translateY(-2px);
    }

    .app-icon {
      width: 44px;
      height: 44px;
      flex-shrink: 0;
      background: rgba(173, 55, 241, 0.12);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--violet);
      font-size: 1.1rem;
    }

    .app-item h4 {
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .app-item p {
      font-size: 0.82rem;
      color: var(--muted);
      line-height: 1.55;
    }

    /* ==========================================
       CONTACT
    ========================================== */
    #contact {
      padding: 100px 0;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      max-width: 700px;
      margin: 0 auto;
    }

    .contact-card {
      background: var(--glass);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 36px 28px;
      text-align: center;
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }

    .contact-card:hover {
      border-color: rgba(255, 0, 157, 0.35);
      transform: translateY(-4px);
      box-shadow: 0 16px 40px rgba(255, 0, 157, 0.12);
    }

    .contact-card-icon {
      width: 56px;
      height: 56px;
      background: var(--grad);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      color: #fff;
      margin: 0 auto 16px;
    }

    .contact-card h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .contact-card a {
      font-size: 0.9rem;
      color: var(--muted);
      transition: color 0.3s;
    }

    .contact-card a:hover {
      color: var(--pink);
    }

    /* ==========================================
       FOOTER
    ========================================== */
    footer {
      border-top: 1px solid var(--border);
      padding: 28px 0;
      text-align: center;
    }

    footer p {
      font-size: 0.78rem;
      color: var(--muted);
    }

    footer a {
      color: var(--violet);
    }

    footer a:hover {
      color: var(--pink);
    }

    /* ==========================================
       SOCIAL SIDEBAR
    ========================================== */
    .social-bar {
      position: fixed;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 998;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .social-bar a {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.07);
      color: var(--violet);
      font-size: 1rem;
      transition: background 0.3s, color 0.3s;
    }

    .social-bar a:hover {
      background: var(--pink);
      color: #fff;
    }

    /* ==========================================
       DIVIDER
    ========================================== */
    .divider {
      height: 1px;
      background: var(--border);
      width: 100%;
    }

    /* ==========================================
       RESPONSIVE
    ========================================== */
    @media (max-width: 900px) {
      .hero-inner {
        grid-template-columns: 1fr;
      }

      .hero-chat-preview {
        display: none;
      }

      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .demos-grid {
        grid-template-columns: 1fr;
      }

      .apps-grid {
        grid-template-columns: 1fr;
      }

      .contact-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
      }

      .cta-box {
        padding: 44px 24px;
      }

      .nav-links {
        display: none;
      }
    }

    @media (max-width: 560px) {
      .features-grid {
        grid-template-columns: 1fr;
      }

      .hero-stats {
        gap: 20px;
      }
    }